<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>翻译</title>
    <link rel="stylesheet" href="style.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">

</head>
<body>
<div class="header">
    <p>
        <h1>翻译</h1>
        <h4>中英互译</h4>
    </p>
</div>
<div class="footer">
    <p>
        <span id="b1">
            <button class=" btn-primary" disabled="disabled">中文</button>
            <button class=" btn-light" disabled="disabled">英文</button>
        </span>
        <button class="b3" onclick="swap()">↔</button>
        <span id="b2">
            <button class=" btn-primary" disabled="disabled">英文</button>
            <button class=" btn-light" disabled="disabled">中文</button>
        </span>

    </p>
    <p>
        <textarea name="" class="t1"></textarea>
        <textarea name="" class="t2">翻译</textarea>
    </p>
    <p>
        <button class="t3" onclick="zhToEn()" readonly="readonly">翻译</button>
    </p>
</div>






<script src="script.js"></script>
</body>
</html>